<h2 class="title">配件出库</h2>
<form action="index.php?c=zy_send_storehouse_record&m=show&post=1" method=post name=frm>
<table class="tb_term" width="100%">
<tr>
	<td  class="tr_td_width01 alignright">库请单号</td>
	<td class="tr_td_width04"><input type=text class="input_select_stand txt-normal" name="storehouse_no" size=25 value='{%$storehouse_no%}' onkeyup="value=value.replace(/[^\w\-\/]/ig,'')"></td>
	<td  class="tr_td_width01 alignright">经办日期</td>
	<td>
		<input type=text class="input_date_select txt-normal" name="operation_date" id="operation_date" maxlength="12" value='{%$operation_date|date_format:"%Y-%m-%d"%}' readonly>
		<script>
			Calendar.setup({
				inputField     :    "operation_date",   // id of the input field
				ifFormat       :    "%Y-%m-%d",       // format of the input field
				showsTime      :    false,
				timeFormat     :    "24"
			});
		</script>
	</td>
</tr>
</table>
<p class="btn_box alignright" style="width:100%;">
	<button type="submit" class="b-default" hidefocus="true"><span><em>查询</em></span></button>
	<button class="b-default" hidefocus="true" onclick="javascript:location.href='?c=zy_send_storehouse_record&m=add';return false;"><span><em>添加</em></span></button>
</p>
</form>

<h2 class="title">结果显示</h2>
<table class="tb_list" width="100%">
<tr class="title">
	<td class="list_td_zw_11">库请单号</td>
	<td class="list_td_zw_11">发往单位</td>
	<td>物资出处</td>
	<td class="list_td_zw_04">经办人</td>
	<td class="list_date">经办日期</td>
	<td  class="list_td_zw_opt02">操作</td>
</tr>
{%foreach from=$arr item=arr_item%}
<tr>
	<td>{%$arr_item.storehouse_no%}</td>
	<td class="alignleft" title="{%$arr_item.send_company_name%}">{%$arr_item.send_company_name%}</td>
	<td class="alignleft" title="{%$arr_item.storehouse_record_from%}">{%$arr_item.storehouse_record_from%}</td>
	<td>{%$admin_info[$arr_item.operation_people]%}</td>
	<td>{%$arr_item.operation_date|date_format:"%Y-%m-%d"%}</td>
	<td>
		<a href='index.php?c=zy_send_storehouse_record&m=browse&send_record_id={%$arr_item.send_record_id%}'>详细</a>&nbsp;
		<a href='index.php?c=zy_send_storehouse_record&m=edit&send_record_id={%$arr_item.send_record_id%}'>修改</a>
		<!--
		<a href='index.php?c=zy_send_storehouse_record&m=del&send_record_id={%$arr_item.send_record_id%}' onclick="return confirm('您确认删除吗?')">删除</a>&nbsp;		
		<a href='index.php?c=zy_send_storehouse_details&m=add&send_record_id={%$arr_item.send_record_id%}'>添加物资</a>
		-->
	</td>
</tr>
{%foreachelse%}
<tr><td colspan="6">暂无内容</td></tr>
{%/foreach%}
</table>

{%if $arr_item%}
<div class="pagenation aligncenter">
	<div id="pager">{%$page_footer%}</div>
</div>
{%/if%}